package de.yellowshoes.tedx.net;

import android.content.Context;
import android.os.AsyncTask;
import de.yellowshoes.tedx.R;

public class CsvUpdateASync extends AsyncTask< Void, Void, Void >
    {
    private Context context = null;

    public CsvUpdateASync( Context context )
        {
        this.context = context;
        }

    @Override
    protected Void doInBackground( Void... arg0 )
        {
        SpeakerReader speaker = new SpeakerReader( context.getString( R.string.url_speakers ) );
        speaker.read();

        return null;
        }
    }
